﻿
namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// 工艺主表查询对象
    /// </summary>
    public class CksTechniqueQueryDto : PagerInfo
    {
        public int TemplateId { get; set; }
    }

    /// <summary>
    /// 工艺主表输入输出对象
    /// </summary>
    public class CksTechniqueDto
    {
        [Required(ErrorMessage = "工艺Id不能为空")]
        public int Id { get; set; }

        [Required(ErrorMessage = "工艺名称不能为空")]
        public string Name { get; set; }

        [Required(ErrorMessage = "工艺代码不能为空")]
        public string Code { get; set; }

        [Required(ErrorMessage = "工艺类型不能为空")]
        public int Type { get; set; }

        public DateTime? LastSendTime { get; set; }

        /// <summary>
        /// 模板编号 
        /// </summary>
        public int TemplateId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes { get; set; } = string.Empty;


        public bool Nullity { get; set; }

        public int QueryStatus { get; set; }


        public DateTime? CreatedTime { get; set; } = DateTime.Now;

       
        public bool IsDeleted { get; set; }



        [ExcelColumn(Name = "工艺类型")]
        public string TypeLabel { get; set; }
    }
}